package cn.lena.idle.pojo;

import androidx.annotation.NonNull;

/**
 * @author lena
 * @date 2021/6/10
 */
public class Catagory {

    private Integer id; //分类id
    private String name;    //分类名称

    public Catagory(Integer id,String name){
        this.id=id;
        this.name=name;
    }

    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "Catagory{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
